package com.bowen.gulimall.ware.feign;


import com.bowen.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient("gulimall-product")
public interface ProdutFeignService {

    /**
     * 让所有请求都发送网关  或者直接让后台访问处理
     *
     * @param id
     * @return
     */
    @PostMapping("/product/skuinfo/info/{skuId}")
    R info(@PathVariable("skuId") Long id);

}
